package com.leanyuan.publi.dao;

import com.leanyuan.publi.domain.TParkingspace;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.leanyuan.publi.dto.Statisticsto;
import com.leanyuan.publi.dyno.HouseProvider;
import com.leanyuan.publi.dyno.ParkSpaceProvider;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 相亲相爱一家人
 * @since 2021-05-25
 */
public interface TParkingspaceMapper extends BaseMapper<TParkingspace> {
    @SelectProvider(type = ParkSpaceProvider.class,method = "selectCount")
    public List<Statisticsto> findCount();
}
